package com.travel.server.manager.dto.response.order;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/11/5 12:57
 * @Desc:
 */
@Data
public class QueryRightOrderListResponse {

    @JSONField(name = "total_num")
    private Integer totalNum = 0;

    @JSONField(name = "order_list")
    private List<RightItem> orderList = new ArrayList<>();

    @Data
    public static class RightItem{

        private Integer id;

        @JSONField(name = "refund_id")
        private String refundId;

        @JSONField(name = "order_id")
        private String orderId;

        @JSONField(name = "commodity_name")
        private String commodityName;

        @JSONField(name = "order_amount")
        private String orderAmount;

        @JSONField(name = "refund_amount")
        private String refundAmount;

        @JSONField(name = "apply_time", format = "yyyy-MM-dd HH:mm:ss")
        private Date applyTime;

        @JSONField(name = "refund_state")
        private String refundState;
    }
}
